package demo.facade;


/**
 * @author : feixiang.li
 * @since : 2025-09-17 15:50
 */
public class Application {
    public static void main(String[] args) {
        // 启动 Mysql
        Mysql mysql = new Mysql();
        mysql.initData();
        mysql.checkLog();
        mysql.unLock();
        mysql.listenPort();
        // 启动 Tomcat
        MyTomcat myTomcat = new MyTomcat();
        myTomcat.initEngine();
        myTomcat.initWeb();
    }
}
